package com.zbkj.common.model.agent;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 订单溯源号段明细表
 * </p>
 *
 * @author Caiyc
 * @since 2025-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zfb_order_trace_logs_record_items")
@ApiModel(value="OrderTraceLogsRecordItems对象", description="订单溯源号段明细表")
public class OrderTraceLogsRecordItems implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "优惠券表ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商户ID")
    private Integer merId;

    @ApiModelProperty(value = "记录ID（zfb_order_trace_logs_record）")
    private Integer recordId;

    @ApiModelProperty(value = "是否删除 状态（0：否，1：是）")
    private Boolean isDel;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "日志标题")
    private String logTitle;

    @ApiModelProperty(value = "日志内容")
    private String logContent;

    @ApiModelProperty(value = "图片地址 (URL)，多个图片地址用英文逗号分隔")
    private String imageUrl;

    @ApiModelProperty(value = "日志事件发生时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date logTime;

    @ApiModelProperty(value = "排序字段，值越小越靠前")
    private Integer sortOrder;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "地名")
    private String place;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "详细地址")
    private String details;

    @ApiModelProperty(value = "操作行为（1：发货）")
    private Integer operation;

}
